Skip to content

fix: 修复 del-data 未删除数据库记录与发包菜单物品使用状态 - #279

Merged
YsGqHY merged 3 commits into
CoderKuo:stable/v3from
polang233:fix/del-data-persist
Oct 13, 2026
Merged

YsGqHY merged 3 commits into
CoderKuo:stable/v3from
polang233:fix/del-data-persist

Conversation

@polang233

@polang233 polang233 commented Oct 13, 2026 •

Copy link
Copy Markdown

Fixes #274

  • del-data / Kether data del 只删除了内存数据,数据库记录仍保留,重新登录或重启后数据恢复;现在会同步删除数据库记录
  • set-data、del-data 与 Kether 统一通过 Metadata.setData 写入
  • 玩家数据读写改为单线程串行执行,避免先提交的写入覆盖后续删除;停服时等待已提交的写入完成
  • 发包菜单打开或关闭时打断玩家正在使用的物品,修复按住右键打开菜单后客户端卡在举盾/拉弓状态的问题
  • 小版本号+1

- del-data / Kether data del 同步删除数据库中对应的玩家数据
- 统一 set-data、del-data 与 Kether 的数据写入入口
- 玩家数据读写改为串行执行,避免旧写入覆盖删除结果,停服时等待写入完成
@polang233
polang233 force-pushed the fix/del-data-persist branch from 152f28b to accb006 Compare October 13, 2026 09:34
@polang233 polang233 changed the title fix(data): 修复 del-data 未删除数据库记录 fix: 修复 del-data 未删除数据库记录与发包菜单物品使用状态 Oct 13, 2026
Packet 菜单不会走 Bukkit openInventory,右键未松开时客户端会停留在举盾/拉弓状态。
打开和关闭 WindowReceptacle 时调用 clearActiveItem。
@polang233
polang233 force-pushed the fix/del-data-persist branch from accb006 to 9814051 Compare October 13, 2026 09:36
@YsGqHY
YsGqHY merged commit 2cb25e2 into CoderKuo:stable/v3 Oct 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: 再执行del-data动作时,并未对数据库中数据进行删除.

2 participants